package com.dkt.wap.web.dto;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

public class UserDto extends Dto {
	private static final long serialVersionUID = -7669131918952373315L;

	/** 用户姓名 */
	@NotEmpty
	@Size(max = 20)
	private String username;

	/** 密码 */
	@NotEmpty
	private String password;

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
